#include "sys.h"
#include "delay.h"
#include "led.h"
#include "stm32f10x.h"


 int main(void)
 {	
	u8 Task1 = 0;
	u8 Task2 = 0;
	 
	DelayInit();
	LED_Init();
	 
	Task1 = SysTickRegTask();
	Task2 = SysTickRegTask();
	 
	while(1)
	{
		SysTickHandleFunc(Led0CallBack, Task1, 10);
		SysTickHandleFunc(Led1CallBack, Task2, 50);
	}
 }

